.parent{
    background: lightblue;
    display: inline-block;
    width: 100px;
    height: 50px;
    border: 2px solid;
    padding: 10px;
}